Previous Book Contents Book Index Next

Inside Macintosh: Programming With the Text Encoding Conversion Manager /
Chapter 3 - Text Encoding Converter Reference / Text Encoding Converter Functions
Investigating Encodings /


TECDisposeSniffer

Disposes of a sniffer object.

pascal OSStatus TECDisposeSniffer (
                     TECSnifferObjectRef encodingSniffer);
encodingSniffer
A pointer to the sniffer object you want to remove.
function result
A result code. See "Text Encoding Conversion Manager Result Codes" (page 42) for a list of possible values. If this function returns a result code other than noErr, then one of the conversion plug-ins accessed by the converter encountered an error condition.
DISCUSSION
This function releases all memory associated with the sniffer object created by the function TECCreateSniffer (page 85).

SEE ALSO
The function TECCountAvailableSniffers (page 83)

The function TECGetAvailableSniffers (page 84)

The function TECSniffTextEncoding (page 86)


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 NOV 1997